package com.jwthhealth_pub.old.api.model;

import java.util.List;

/**
 * 获取聊天记录
 * Created by Administrator on 2017/4/19.
 */

public class OldmsgModel {

    /**
     * code : 0
     * msg : 成功了
     * data : [{"id":"3317","from_id":"02-00-00-00-00-00","to_id":"10000000001","msg":"？","status":"1","from_name":"游客0","to_name":"营养咨询客服","update_time":"0000-00-00 00:00:00","send_time":"2017-04-07 15:58:40"}]
     */

    private String code;
    private String msg;
    private List<MsgDataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<MsgDataBean> getData() {
        return data;
    }

    public void setData(List<MsgDataBean> data) {
        this.data = data;
    }

    public static class MsgDataBean {
        /**
         * id : 3317
         * from_id : 02-00-00-00-00-00
         * to_id : 10000000001
         * msg : ？
         * status : 0未读 1已读
         * from_name : 游客0
         * to_name : 营养咨询客服
         * update_time : 0000-00-00 00:00:00
         * send_time : 2017-04-07 15:58:40
         */

        private String id;
        private String from_id;
        private String to_id;
        private String msg;
        private String status;
        private String from_name;
        private String to_name;
        private String update_time;
        private String send_time;

        public MsgDataBean(){}

        public MsgDataBean(String from_id, String to_id, String msg) {
            this.from_id = from_id;
            this.to_id = to_id;
            this.msg = msg;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getFrom_id() {
            return from_id;
        }

        public void setFrom_id(String from_id) {
            this.from_id = from_id;
        }

        public String getTo_id() {
            return to_id;
        }

        public void setTo_id(String to_id) {
            this.to_id = to_id;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getFrom_name() {
            return from_name;
        }

        public void setFrom_name(String from_name) {
            this.from_name = from_name;
        }

        public String getTo_name() {
            return to_name;
        }

        public void setTo_name(String to_name) {
            this.to_name = to_name;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        public String getSend_time() {
            return send_time;
        }

        public void setSend_time(String send_time) {
            this.send_time = send_time;
        }
    }
}
